package com.boesch.electroOffice.model.messerli;

import java.io.Serializable;

import org.joda.time.LocalDate;

/**
 * A POJO Plain old java object for messerli invoice.
 * The data for invoice objects are read from messerli database.
 * 
 * @author Ralph Koster
 *
 */
public class Invoice implements Serializable {

	private static final long serialVersionUID = -9026828759653782516L;

	private int projectNumber;
	private String projectSubject;
	private String shortDescription;
	private String invoiceNumber;
	private LocalDate invoiceDate;
	private LocalDate invoiceDueDate;
	private LocalDate invoiceBookingDate;
	private double invoiceSum;
	private double invoicePreSum;
	private double sumMaterial;
	private double sumWorkingHours;
	
	public int getProjectNumber() {
		return projectNumber;
	}
	
	public void setProjectNumber(int projectNumber) {
		this.projectNumber = projectNumber;
	}
	
	public String getProjectSubject() {
		return projectSubject;
	}
	
	public void setProjectSubject(String projectSubject) {
		this.projectSubject = projectSubject;
	}
	
	public String getShortDescription() {
		return shortDescription;
	}
	
	public void setShortDescription(String shortDescription) {
		this.shortDescription = shortDescription;
	}
	
	public String getInvoiceNumber() {
		return invoiceNumber;
	}
	
	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}
	
	public LocalDate getInvoiceDate() {
		return invoiceDate;
	}
	
	public void setInvoiceDate(LocalDate invoiceDate) {
		this.invoiceDate = invoiceDate;
	}
	
	public LocalDate getInvoiceDueDate() {
		return invoiceDueDate;
	}
	
	public LocalDate getInvoiceBookingDate() {
		return invoiceBookingDate;
	}

	public void setInvoiceBookingDate(LocalDate invoiceBookingDate) {
		this.invoiceBookingDate = invoiceBookingDate;
	}
	
	public void setInvoiceDueDate(LocalDate invoiceDueDate) {
		this.invoiceDueDate = invoiceDueDate;
	}
	
	public double getInvoiceSum() {
		return invoiceSum;
	}
	
	public void setInvoiceSum(double invoiceSum) {
		this.invoiceSum = invoiceSum;
	}
	
	public double getInvoicePreSum() {
		return invoicePreSum;
	}
	
	public void setInvoicePreSum(double invoicePreSum) {
		this.invoicePreSum = invoicePreSum;
	}
	
	public double getSumMaterial() {
		return sumMaterial;
	}
	
	public void setSumMaterial(double sumMaterial) {
		this.sumMaterial = sumMaterial;
	}
	
	public double getSumWorkingHours() {
		return sumWorkingHours;
	}
	
	public void setSumWorkingHours(double sumWorkingHours) {
		this.sumWorkingHours = sumWorkingHours;
	}
}
